package org.small.shop.phone.api.process.addr.mapper;

import java.util.List;

import org.small.shop.phone.api.MyMapper;
import org.small.shop.phone.api.process.addr.pojo.TblWxAddr;
import org.small.shop.phone.api.process.addr.pojo.TblWxAddrVo;

public interface TblWxAddrMapper extends MyMapper<TblWxAddr> {

	List<TblWxAddrVo> getAllAddrsByUserId(String openid);

	void updateAllNotDefaultByUserId(String openid);

	void updateIsDefaultByAddrId(Integer addrId);

	TblWxAddrVo getAddrsByaddrId(Integer addrId);
}